Add toString method tests
Updated toString method