Added unit test for UpdateTime