subscript testcase