add random generate String function
add longer read test for IndexOf()