Fixed ValidateCommand to pass tests after Exception refactoring.