update unit test for helper