Enhance test to print out more information, it seems to fail on Apache Jenkins JDK8 build

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575500 13f79535-47bb-0310-9956-ffa450edef68
Fix Sonar issues about finalize() usage

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1575501 13f79535-47bb-0310-9956-ffa450edef68