Add integration test for issue #1449.