test break fix.
Fixes #2729: Added `FilterValidator::skipOnArray` so that filters like `trim` will not fail for array inputs
Fixes #2756: Added support for injecting custom `isEmpty` check for all validators
Fixed test break.