make slugify test pass in py2 & py3