Add more specs for fetching resources on error cases.