Add a test for encoding of slashes.