fix stat event not having the stat
test for stat object return
global-leakage test