test(hub-view): add tests for hub view