1 test case for comparator