Unit test Mocking repository

test for mocking repository added