Use ok to simplify assert