Added tests for access token refresh.