Unit-tests for validators