added test class
updated build.xml to run tests
fixed bug
added junit library