Fixed tests in ant build script