Added tests for conversion to string.
Used ConvertTo instead of casts for string conversion.