Mike McCormack : msi: Fix a couple of memory leaks in the test code.