Added a fix so that the search query string can be passed in as a string instead of an object
Added documentation for search methods
Added tests for new search method