Add unit test for snprintfcat().
Add unit test for string_tohex().
Add unit test for string_fromhex().