Added mocha unit tests for config, helper, item, translator, and service. Tweaked codebase to work with changes required when setting up tests.