Fixes download test in py3