sets ns in env for analyzer

- upgrades (reader, analyzer)
- tests for var reference fixed by analyzer change