The auditor should ensure that test planning is conducted early enough so that test requirements are included in the contract.
Test requirements should be included in the contract.