Test array and non-array usages, and accept either

[SeeRM #8367]