Added tests and better DownloadMediaModel constructor