Added test for getting access tokens