Subscript operator and its tests added.