Unit test fix for mouseover/mouseout fallback