added a test for the new representation module