pdf creator + tests