Added validations to enquiry and stat with specs