Fixed Deluge UnitTest