Roughly 85% test coverage of baseHelpers.js