In software testing what is the main purpose of exit criteria?