#674 created tests for indexer