refactored the collection tests to use a common CollectionTestCase as parent.