added scope test for for loops.
for..in statements now work. fixes #13.