Add test when error is NSURLErrorCancelled