Adds test for 3 slashes (+ refactoring)