setting up unit tests
wiring dependency injection so we can use a mock