revise ant and correct the test