Add integration test re #1082