Refactor ObjectCollection#fetch and add basic tests
Refactor IndexedCollection#fetch