Redmine#3757: getindices() acceptance test for 2-level array

https://cfengine.com/dev/issues/3757

This acceptance test demonstrates that `getindices` fails to collect the indices correctly for a 2-level array.