Adding a new test for output encoding in the search feature