add test for help function
add spec helper in tests