added more validation for a test