You can remember the meaning of 证词 with this easy mnemonic:
This testimony says that he proved (证) that this diet pill works (词)!
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.