Added test for #1937