integrate indexTest into index