offline mode test for nsurlconnection