Add some tests for String

Added some tests for ```String::operator=()```.