Fixed if/elif bug.
Fixed download() kwargs.
Fixed download test.
Fixed kwargs.