Solves a sidebar error in the views and corrects tests