add src/test/common/xstring_test.c