test to make sure collection methods work