testing the creation of collections