test cleanup. rename test
Fix handling of non-fetch http urls
Support attachment flag in private download links