Add test for #46