test for comparison