tests: fix ant target dependency order