Add tests for array shorthand