Implements timecop to make tests independent from DateTime

close #327
why not `1.day.ago` ?