add acceptance test for #3643