Make valgrind happy regarding memory leaks.

Tests exited before deleting the objects