Card #48 fix for dao test