Added cleanup of some leaky tests

- There are some leaks still to track down, but mysql testing should work now

[#71446796]