Testament means strong proof or evidence of something.
In the passage, Malala's story is described as a testament to the power of education and resilience, meaning it serves as clear evidence of how education can transform lives and show the strength of the human spirit.