Add transient memory leak test.