Add tail and test tail
Run jsdoc