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

fix tests for dart 2