added tests for helpers