sync tests

Update tests now that credential_id is supposed to be string.