extend Map unit test to check buffers allocated on the stack