[DROOLS-150] add test for declarations of types from inner classes