Add test for #1149
Enable disabled test