add test case for comparison