¿Cómo se distribuye herencias con y sin testamentos?