Fixed Repository Service tests.