Updated the rspec tests to work with the new collection object.