Replaced the "set_widened" interface in testcase to the "set_sstate_type".