fix index tests to actually use index