Validator tests