Changed unit test to use current time.