Add test for #6