Add spec for array variables

I ran this spec in the bare `support/0.4.x` branch and it fails there.
It passes here.