hub, manager unit tests