Rob Shearman : rsaenh: Fix some memory leaks in the tests.