[299] minor change for code clarity and updated testcase for empty CDvOrdinal

Revision: 299
Author: rong.chen

Log Message: