changed a few tests in rspec