[test] updated test to reflect making a call to retrieve token for the session