Refactoring Pom and Fixing Junits