added test for topbar