add index to test