Added service task handler registration in test case.