InheritPrint test