Added test for toString()