add rspec mocks to test suite