Fixed stubs in indexing test