Hans Leidekker : msi: Fix some leaks in the tests.