Added EntityRepository tests.