É obrigatório fazer um testamento para transferir a herança?