Remove infinite test loops