Fleshing out tests with mocks