for testing pdf download, test the preview so that it doesnt fail on travis