Adjust testing with rspec