fix param initialization bug in UT
Merge pull request #1230 from lyao2/ut_fixbug

fix param initialization bug in UT