Created add function in string calc and added in test code