Added: Credential class + test