test: check for global leaks