added test for helper.js