Don't show validation errors when in unit test mode.