adds validations and controller tests for restaurant