Fixed test checking for access token