working on TestSingleIndex test case