The Secretary, pursuant to a contract or memorandum of understanding between the Secretary and the head of a State, local, territorial, or tribal department or agency, is authorized and encouraged to conduct examinations, testing, and investigations for the purposes of determining compliance with the food safety provisions of this chapter through the officers and employees of such State, local, territorial, or tribal department or agency.