Added some tests to libstring.