Added test file for RT#98707

Regarding RT#98707, the bug is in located in PDF::API2, when setting the preferences. Reporting there as well.