Add test case for #911