moved to rspec because of better support for stubs and mocks