If original format is matched or format is empty string return original content of PDF document.
Adjust test accordingly and fix bad test.