begin tdd cli with mock io