fixed wrong dates due to timezones and tests