Add tests targeting BZ 1105773

The test fails, indicating that the bug still needs more work.
Merge pull request #1195 from Ichimonji10/bz-1105773

Add tests targeting BZ 1105773