Test case for list subscript assignment and scope calculation
Renamed test case to more appropriate name