Test for replacing tooltip when resized