Add another integration test to try and cover #1056