Merge pull request #283 from coocood/master

Fix test configuration serialization exception.
Revert back to Java6 support for the plugin
Merge pull request #284 from dlsniper/revert-to-java6

Revert back to Java6 support for the plugin
Run go fmt when run test.