Text::slugify() and test implementation