Add some temporary hacks in tests to ensure code doesn't run code too early
Add some temporary hacks in tests to ensure code doesn't run code too early

This can be removed once the debugger works.

Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code