add testing for arrays in parser