updated tests to cover phantom ouput passing

Now tests for "output" event -- also tests output string against the same source file string brought in via fs.