Move external AST tests into qunit spec
Merge global and passed helpers and partials