Do we really want to include the qunit stuff in every response, including in production? I think we should serve as few (external) javascript as possible. Maybe use jQuery.getScript to load it as soon as the system decides it's in testing mode (when we call QUnit.start())?