Track where buffers are freed in the test suite