integration tests: Fix handling of NullPointerExceptions for Java 16+ (again ...) Refactor TestAllFiles to provide an API for mass testing