Can you put the actual String into the assertion so that you don't have to use `Shellwords.escape`. This will show what the code should do.