added test for download