Test utility to show memory leaks.