add formatTime tests