checkParamNames: out of order case and tests

Fixes #33