Switch to promise-returning test style
Tweak jsdoc
Add console.log + JSON.stringify fallback for deficient (read: IE8) consoles