Edited expectedOutput string value for exception, since document file
extensions takes precedence over the explicit format setting.