get_field function can get a subarray from an array using the notation: "index1-index2"
array index and subarray tests added.