Fixed bug in testcdd.