Fixed test failures with Oracle when pytz isn't installed.

Thanks Shai Berger for the report.