Refactor tests
Add test update pom