Added new string test case and optimized operator=