tests: Fix various leaks

31 jobs for !206 with fix_leaks in 27 seconds (queued for 2 seconds)
latest merge request