Migrate to Dart 0.3.1 Dart Editor version 0.3.1_r17463
Migrate and fix unit test.