Adding index test
Making index test a bit more involved