added batch() leak tester