test triggering validation errors