cli test write poly