test for floating bar