fixed index_test