Fix the tests. create a mock repository and get the unit get test working