Update test case to be coherent with the others
Add sample generation for abstract class with no concrete subClass

Sample generation is done by instantiating an anonymous class that implements the interface of the abstract class.