Tests and JSDoc