fixed some WS issues and added tests for for loops
Merge branch 'Parser' into ParserRelease
Nil hotfix