adding paths middleware and starting paths tests
adding slugify tests for paths middleware