dout, change output format.
Fix test.