add tests with throwing cage for missing jsdoc scopes
checkParamName: fixup throw on declared but unexistent params

Fixes #39
Closes #40
Merge pull request #40 from zxqfox/hotfix/param-name-throw

fix param name throws