add test for sidebar count