Bug-100: test case for DownloadService

We cannot use url.openStream() to create another connection to server. Instead of that, we should use httpConnection.getInputStream() which is the stream already downloaded.