Add test for issue #4448