[DROOLS-27] add test case proving that a declared type extending an imported type builds correctly