Fixed deleteSelf test