restructure for test coverage via nodeunit and jscoverage