Add time format test

It would be better to add time format parsing test.