tests: Add tests for `other names` section in search results.