Mocking the hub_t object
conflicts resolved