adding unit tests for server response on a search