Added a test for toString