Bug Report: Failing test to recreate nested quotes issue

I'm not sure exactly what the issue is, but this test recreates it. I
think it has to do with escaping nested quotes in python, then dumping
them out into the shell.
Merge pull request #2 from mattjmorrison/master

Bug Report: Failing test to recreate nested quotes issue