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
Merge pull request #1168 from TechEmpower/1167

Fixed the issue about foo/0/501