Implementing Repository Pattern for Unit Testing