Implemented deathAfter test case