add subscript test case