Remove iteration in test