Test for `getToken` and use the retrieved token in the subsequent tests