Fixed LoadHubTests
Wrote tests for ChartsController
Introduced SocketInstance to help make tests of the client