Separated sidebars js to the correct file.
Implemented sidebars tests
Improved sidebars test