test comparable