unit tests for validate up
validate class fixed for standalone mode
form validate improved for existing func and arrays