fate: Add regression test for Ticket 1239