add testcase for hub forward function