Test for converted pdf before trying to convert