Added string formatting tests