Update QUnit raises function to throws.