Adding regression test that shows promise memory leak