Add tests targeting BZ 1105773

The test fails, indicating that the bug still needs more work.