fix for broken test

see issue #39
improved handling of localized gmt offset

see issue #178