http://api.qunitjs.com/throws/ allows for a regex error message match. Ideally this would be used.