test: add tests for output.format of search