Transplant test to demonstrate leaking connections

This is a test case to demonstrate an issue with the current master code base. It does not contain a fix for the issue, it just documents the existence of the bug. If this causes the build to fail, then we can either skip the test or fix the underlying issue.