[PATCH v4 3/5] mf/tests: Fix leaks in test source.