added tests for Time()