fix test state calculation
run each test in separate code frame
use esprima for code parse and translate back (with no payload for now), init work on environment deprecation