Add test to monitor for memory leaks.