Updating README and tests for the new 'search' function