Some patches to cache

- PMD warnings
- disable flaky tests
- use auto-generated port number
Merge pull request #17 from hgschmie/master

Some patches to cache