Add a reduced test case for PR 5286
Merge pull request #5390 from Snuffleupagus/inline-jpeg-image-loading-test-case

Add a reduced test case for PR 5286