add string.pm and its test file