Loop change in test