Add a reduced test case for bug 847420
Merge pull request #5401 from Snuffleupagus/bug-847420-test

Add a reduced test case for bug 847420