split test methods with a common setup, replace file comparison with manual checks for module1 classpath file (entries are sorted in a different order in maven 2.0.1 due to the optional dependencies fix)