Add failing test for #2050