Adding more tests for Collection and Model classes

I've written some more unit tests for the Collection class which now has 100% coverage and one more test for the Model class.