Slightly increased unit test coverage via Mocking.