[test] Move test cases about string functions into a dedicated file.

Update the tasks list.