Finished unit tests for Hub