Free window ran_assignments on tree_close
Add valgrind suppression file to testcases

The suppression file makes valgrind output more readable by hiding
reports of memory leaks for GObject-related initialization functions in
Pango and Cairo.