Don't care if an output line doesn't match
Add test for exit codes
Add test for exceptions
Make sure to flush events one more time on program exit

This deals with things like exceptions
Don't skip last statement anymore

We've fixed it