added tests for arrays and boolean expressions.