A fix and a test case for gh-372

Fixes gh-372: assertion failure with a function
which inserts increasingly large tuples.

Make sure oom.test cleans up after itself.
Fix a slab leak when recycling a factored pool in small object
allocator.