[codereview] Implemented suggestions and added a new test.

- Removed create_unique_slug method since it is not used.
- Removed unused import
- Fix problem with urls names
- Added new test