dispatch test memleak