Add new test case
Add JSDoc comments