Test the new timestamp field of messages, too.

This change also syncs the embedded template HTML in mock_dom.js.