Added Junit tests
Add tests to ant build