Move from test to rspec