Print more informative assert message

ASSERT_EQUAL() is for int-like types that will print with %d.
Unit test the datetime functions

Starting with these because of the recent change of the underlying
system.