Added repository tests.