Add test case for #893