example of how to check CreateIndex() effect