Fix ScaleBar test