Add comparable method and test it