Add tests for hub