wrote separate test case for comparatives