add_representation now works with tests