A testamentary trust, being part of a will, can be changed or revoked by the testator at any time before their death, as long as they are legally capable of making such decisions. This flexibility allows for adjustments based on changing circumstances or wishes.