Fix of #369 (Trim of forwarding slash in path)
Added test
Fixed test
Merge pull request #401 from me1ifaro/issue-369-fix

Fix of #369 (Trim of forwarding slash in path)