Add test for some download file cases and adds calls for listener.
Merge pull request #172 from box/UpdateDownloadFile

Add test for some download file cases and adds calls for listener.