Add tests to sluggable trait