tests that should provide ~100% code coverage

tests using mocha, sinon and basic node asserts