More tests.
It seems ~= isn't supported by jsdom.