change multi broswer expect closure to assertion