Redmine#2926: readstringarrayidx() acceptance test

See https://cfengine.com/dev/issues/2926