test for #246