Added a unit test for modified code in SlugGenerator