If you add one more test with new(html5=>1) here, it fails because it won't re-define html5 tags. (see my comments on Discount.xs)