fix for running tests using ant build file