Added test cases for extended printing to an instance.  This picked up a bug in JPython where the instance had to have a flush() method.
Added test cases for extended printing to an instance.  This picked up
a bug in JPython where the instance had to have a flush() method.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator