refine the test