add tests for slugs