Added specs on Time#zone when Encoding.default_internal is set.
Fixed edge case where Time#zone is nil and Encoding.default_internal is set.
Merge pull request #2931 from razielgn/time-zone-encoding-sanity-check

Fixed edge case where Time#zone is nil and Encoding.default_internal is set.