Fix #471: Adapt partest to new JSEnv structure
Merge pull request #486 from gzm0/fix-partest

Fix #471: Adapt partest to new JSEnv structure