Fixes #33 fix RangeError from Mocha