Add tests for requestCredentialsToken()