test wrongly formatted pdf file