Add rudimentary CLI tests