better exceptions for testing.html

Now, exceptions are throw properly as angry red text
with a stack trace rather than black text with a
mediocre stack trace.

Also, errors don't stop all rendering: other tests after
the failing one will continue to render.