Modify loop for create the new test.