Added test for sandbox __toString when not enabled