Add more tests for HtmlTimeFormatter

Change-Id: Ia8bd3f2af98583bcf83923791b68018399c2337b
Merge "Add more tests for HtmlTimeFormatter"