Timezone fallback for running tests

When the tests are run on a machine that doesn't have ``date.timezone`` option set, multiple tests fail although the tested code is fine.

A check for the setting and a fallback with ``ini_set()`` can fix this problem.