solving the test