new boolean test functions added. pattern matching for arrays.