[C] Added more tests for required validator.