test file for comparator