change test to rspec