automated tests for timeFormat