WL-2365 Append / when we're missing one.

Also quick set of tests to check this.
Merge pull request #101 from ox-it/WL-2365

WL-2365 Append / when we're missing one.