Added tests for AbstractComparator