Unit test: adding sidebarDataProviderServiceSpec & refactoring every unit test.