fix indexer unit test