Fix NullPointerExceptions:
- ensure that XML parsing rule for source encoding is executed before
  source paths are tested for JUnit test classes.
- ensure that TestFolderFinder can cope with Java sources that have not
  @Test annotations.