Reformat test file according to check-style rules and fixed pom files to be able run tests in IDEA