Reduce test flakes
Reduce test flakes

Always wait a short period before doing test content comparison (some edits are applied async and we can't wait). Also remove an unused method.

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