OO syntax tested for simple abstract class