Add a test for string functions

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>