handle the test