fix test for createCLI