Changed method name to testIndex()