print output before assert, this allows to understand issues