Test framework fixes

Comparison: https://github.com/Connexions/webview/compare/commonjs-syntax...test-framework-fixes