add timecop for toggle test