TST: test with all types of indices