fixed url reversing in downloads page. added tests for download views