Move tests
Revise docstrings in pathlib
Fix bug: tags with more than two leading slashes
Fix bug indexing empty string
Refactor pathlib unit tests