added test for enquiry controller