PDFBOX-2057, PDFBOX-2067: added test for the masks

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