Test new python class definition