fixbug on expression_validator
 add unittest
 add array dim constant