comparators and more tests