testing flap thresholds