Test for array short syntax and possibility to omit the colon in the array short syntax