Testing download of a pdf file