CodePrinter test; adding toString to GenObject descendants