Added Ant task unit test after refactoring