adapt DownloadsController test to resources routes