Stabilized test + better assertion framework.
Update PdfGeneratorTest.java
Merge remote-tracking branch 'origin/patch-1' into better-assertions