test NSURLConnection