What is the intended meaning of prompting the two testimonies?

Funerals: The Deathbed, Testimony, and Washing the Deceased