Add test case for #51