update demo
correct handling of export var foo
update tests
rebuilt
bump version -> 0.3.6