Tests for checkstyle publisher

Should be straightforward, the publisher checkstyle simply lacked tests.
Also make use of literal include for the examples.

Change-Id: I000cdee47bb0938af9f327bcaba06b87f8287739
Merge "Tests for checkstyle publisher"