Feature/unit test similarity transform