fix use of assert.ok when meaning assert.equal
fix test failures masked by using assert.ok as assert.equal
remove commented out validation check
use strictEqual and check defaultValue
Merge pull request #353 from stuartf/assertok

Accidental use of `assert.ok` instead of `assert.equal`