Added tests for comparators