Thanks for sending in the CLA.

Mind adding a test for this?  See testPhantomExecutesTestScript for an example.