Removes testing loop