Test that a failing console.assert will pause in the debugger with an optional message.