Test of QCD analytic predictions for the multiplicity ratio between gluon and quark jets