The serial output testing tends to be very brittle. Instead we should have counters for each event that we want to track.