add an integration test for #67