checking the answer of test