deleted a loop from tests