Add a test for #423
backport #423 in 2.3