Search for tweets functionality and tests