Fixed the tests running from ant