Fixed testing issues caused by ElasticSearch's indexing delay.

All 574u, 331i tests pass (See #19).