fix unit test on global helper