added test cases for comparator issues
17 files changed