Merge pull request #21 from dart-lang/fix-dart2-tests

fix tests for dart 2