Print output when assertions fail

This should help with figuring out intermittent CI failures