modified ComparisonTest.java