单项选择题

He _______ the test, but he wasn"t careful enough.

A.must have passed
B.were able to pass
C.had passed
D.could have passed