Testing PDF creation