Test token refresh