An update of an example from https://softwarecave.org/2014/02/01/using-junit-jacoco-and-maven-for-code-coverage/