fix test of cli