edited the rspec tests to ensure that they are the same as the test with the new functionality