Added a missing decoding of the text mining content.
Enabled testing mode for when the plugin is executed standalone.