Adding ArrayValidator
fix generator specs