Add test on die() call, refs #122