Updating qetest.cc with change to testCase_4 from ta
When we create an index, iterate through already existing table and insert elements