better test, still have leaks