[CDE-226]: Fixed Unit Test for widget parameters update

@pamval please review