Testing all methods of Collection.