renamed index to testindex