Test the new timestamp field of messages, too.

This change also syncs the embedded template HTML in mock_dom.js.
Merge remote branch 'origin/timestamp_tests' into tvierling