fix regression in utils tests introduced by #980