Basic TDD example using mocks