(1) don't write after test fails; (2) don't skip to last section