Fixed broken unit tests and removed ant build scripts.