test exit criteria