Pattern detection in phase I monitoring using runs-based tests