add test for downloading locla json
add tests for downloading full URLs