Fix downloadmanager tests
Merge pull request #105 from wtud/tests-dlmanager

Fix downloadmanager tests