add general array constructor tests; fix parser