adapt/improve memory leak tests

Change-Id: I0437c9e4a499d1882f2150cf9fdf93e3a1226b2b
diff --git a/VERSION b/VERSION
index 3cf561c..371a952 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.12.1
+2.12.2