Added tests to complete coverage of the collection api.
Added another assert to ensure that the collection's name was changed to what we expected.
Merge pull request #333 from manthey/add-collecton-tests

Added tests to complete coverage of the collection api.