search test: add a missing test case for error with "records" output

It should be included in the previous commit. Sorry...
Fix comment location