Add unit test that includes mocking