fix and test for issue 203

link to issue: https://github.com/Khan/live-editor/issues/203
I see... that makes sense.  Do you want me to submit a PR for that?