Add tests for configuring validators.