add reset collection memory tests
Merge pull request #2104 from akre54/collection-tests

Add reset collection memory and merge tests