Added for..of loops + tests