Added initial test as well as fixed pom.xml