add tests for ant
integrate old and new way of configuration