having written a testament

See: testate