Adding functional repository test.