Gracefully handle objects that don't support #inspect
Add a test for handling basic objects

This is what caused me to discover the problem I fixed in 7598c26.