Basic tests for IndexedCollection.