[PATCH v5 18/41] test: Move console silencing to test_pre_run()