Upgrading nodeunit. Removing lib folder from jshint list. Refactoring test in preparation for additional coverage and updates.