Adds test for #368, conversion of numeric strings used as array indices.