[cli] Fixed tests.