Added a validation test