Add test for #4