Fixes bug
Merge pull request #584 from Junkern/DunningTestFix

Fixes bug