Fix the tutorial test generator

It turns out that I had a typo in my hacked emulator.h that was
causing nothing to get the correct input stream.  This is now fixed.
Time to see how many examples run!
Some tutorial tests actually pass!

I guess it's time to start walking through all the failing tests in an
attempt to start making them work...