revert unicode change in tests/test_period