added cropping and tests to download function
refactor return from download
correct test name
fixed url under code review advice