Stubbing out Application and CommandLine helpers