fix running tests in checked mode
fix running tests in checked mode

FaisalAbid/dart_to_js_script_rewriter,FaisalAbid/dart_to_js_script_rewriter,sethladd/dart_to_js_script_rewriter,kevmoo/dart_to_js_script_rewriter,Workiva/dart_to_js_script_rewriter,maxwellpeterson-wf/dart_to_js_script_rewriter,sethladd/dart_to_js_script_rewriter,maxwellpeterson-wf/dart_to_js_script_rewriter,Workiva/dart_to_js_script_rewriter,kevmoo/dart_to_js_script_rewriter