make yargs testable