mock sudo command in the warden_cpi unit test