made category routes use slugs and tests