Adding a new test for leaks