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

Also quick set of tests to check this.