rspec testing fixed