Adding String functions and test