changing jsdoc version, plus some unit tests