TIKA-1271: trivial refactoring of classes useful for testing embedded document handling

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