Testing for minimum buffer size on node_stack.
Many improvements in the allocator and its test.