free group in many_vars test code to avoid valgrind reports