[Fixed] A download queue can be shutdown at any moment
[Added] Basic test for download queue