Move task indexing spec to task indexer spec