Fix tests : Generic inheritance is lo longer triggered by java
inheritance