checkParamNames: out of order case and tests

Fixes #33
Merge pull request #48 from zxqfox/feature/out-of-order

checkParamNames: out of order case and tests