use rspec-mocks for mocking