Add test-case for classes with __toString method, #100