update unit-test for jg_default