[util.strings] Port slugify tests to QUnit setup