Reformat rspec test