Revert "Add contract for run-tests."

Related to PR 13936.

This reverts commit 032e1ebf558087a4abc36394b01641c96138da08.