Added tests for using the CDR through inheritance and composition.