test case for question index fix