Replace code example with ddoc unittest.