added testament editing functionality