fixed cli test