initial collection tests and modifications to collection sorting due to errors found in testing
Merge pull request #270 from doowb/collection-tests

Collection Tests