Add tests for authored on date.

#1778