add a useful test for #refreshBubblePosition