test for nsurlconnection