Updated Repository unit test to check new String representation is as expected.