Use urllib2 for serving test case