fixing cli tests