add test for comparable