Fix timezone issue in NonceGenerator#generate spec