Setting up unit tests with mocking via rewire