Use Time.zone.now rather than DateTime.now in test.