add test for #3667 additions