test a math problem