Unit tests for trivial helper classes in pdfz.