Adding unit tests for credentials.registerEndpoint