Fix timezone-dependent test