[DROOLS-13] add failing test case for otnIds generation not taking count of inheritance