More powerful tests of nonlocality by sequences of measurements