add cli test for yaf