Add user_credential model tests