add test for new postmortem functions