add tests for array conditional notation