fix some cli tests