add tests for jvm.emit-form, annotate-branch and clear-local passes