Fixed build error by porting tests from DumpChain to DUChainDumper.

REVIEW: 119184