mempool now uses a static allocated memory buffer
changed mempool_test.c according to new mempool api
addition to last commit...
added map_replace() and changed order of arguments for map_insert