Better time localization in tests