moved the make_contract_eval function to the test file since that is the only place it is used.