cli tests