Fixed failing run_cmd test