proper test for required fields that do not specify paramType not leaving paramType as null