Added test for default option in custom validators.