Add unittest for slugify_in_context.