add new tests
fix bugs in ant build script