test-case for fixed issue #11870.