modified test ComparisonTest.java