add paramType tests, move instance checking there
add some tests for the regex param type