Do not catch all exceptions on assert_invalid
Improve debug output of failed assertions