Prevent heap exhaustion due to test case heap leaks. Change-Id: Ic35f314c93f95be39efcc2de434913a957ce203e