Fix setting of time zone in tests

We're reading the settings in a before_initialize block in application.rb,
so we need to run the override in another before_initialize block that's
defined in test.rb