Add helpers for stubbing command line output