rename testindex to index