Working with path in views, testing