Add test for array variable access by string key