add timecop for testing .time