Add a test for getting the access token