Added test for #1001818. Ignored for now