Fixing code style to make #238 pass jshint
Adding test for timezone handling (#238)