index stub test case