add test cribbed from mozilla's x-tags (doesn't work because it's in jasmine-format not mocha)