arxiv_search checks for arxiv errors; add tests