similar_to method now passing tests