Fixed permissions tests for DownloadsController