add ArrayExpression tests
rename notValid test helper to invalid