[MPMD-193] CPD's sourceEncoding not set since PMD 5.1.1 is used

That's just a unit test for https://jira.codehaus.org/browse/MPMD-193.
After upgrading to PMD 5.2.2 (https://jira.codehaus.org/browse/MPMD-195) this unit test should turn green.