Now only compares java files

Also removed a test case where the diference of the pom.xml was tested.
This is not needed anymore, and also will fail in the future