patman: Move test running/reporting to test_util