Add helper method for debugging.
Add a couple more tests for statement sequences.