update stringutil and testcase
add cookieutil