Added Credential type + tests