Fixed: assertIsInstance is not compatible with python 2.6
Removed printing of b64-encoded output image