Fixes a timezone issue in tests