Unit test: sidebarControllerSpec