Fixed the issue about foo/0/501

This new implementation allows for a maximum infraction level to be set when calling _verifyQueryList, and this is set to 'fail' by default, but overridden with 'warn' for these tests.