add more tests for indexes