Test: fixed osx "leaks" support in test.
Test: fixed osx "leaks" support in test.

Due to changes in recent releases of osx leaks utility, the osx leak
detection no longer worked. Now it is fixed in a way that should be
backward compatible.

JackieXie168/redis,JackieXie168/redis,JackieXie168/redis,JackieXie168/redis