Add a test for the to_s method.
Complete the to_s method.