Fixed test that fails when pytz is installed.

pytz' localize() method is the bane of my life.