Add a test for RT#50896
version 1.91