Test for store + index retrieval.