tweaked memleak test diag