added test coverage for helpers