Add test for #244