test: Fix remaining leaks