add test for comparison