Fix HubTest

Without the sleeping, there sometimes were some pointer issues