Test formatting enums, pointers, and exceptions in conversion to string.

The tests now have 100% function coverage of fmt.h.  It is not clear to me why
we don't also have 100% branch coverage.