Test the possible solutions