Just a FYI, there is actually a `collection_tests` method that will perform all of these tests for you. 

https://github.com/fog/fog/blob/master/tests/helpers/collection_helper.rb