Test with a pdf