Which is an example of Tom's ability to use his wit and cunning to his own advantage?

A.
his making the other boys whitewash the fence for him

B.
his decision to testify at the trial of Muff Potter

C.
his fears over what will happen to him if Injun Joe learns that he witnessed the murder

D.
his insistence that people welcome Huck Finn back to St. Petersburg during the funeral