added test cases and changed pom to include junit