fixed PDF tests which did not pass any more due to [02e9461c6c] fix