Move examples to the test resources
Remove forgotten println in tests
Add Sonatype publishing settings