test for failures on unexpected exit
extra docs