integration test for #117