created efficient dinnercontrollertest with dependency injection