Call postMortem() when a test fails.