Adding warning to validation and test