test: Fix timezone test cases with set -e