Fetching status and adding test for response with error.