Testing fetch error case.