Add testcase of `and_die` method.