Added Unit Testing with an InMemoryRepository