test/common/cbuf_test.c and xmalloc_test.c