OPENNLP-569 Fixing remaining issues with the unit tests. Thanks to Vinh Khuc for providing a patch.

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