Add acceptance test for qualified array expansion with spaced indices.

Close #1970, pull-request 545