anchor.diff:  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   // See the License for the specific language governing permissions and
   // limitations under the License.
  +
  +library test_serial_port;
  +
  +import 'package:unittest/unittest.dart';
  +import 'package:serial_port/serial_port.dart';
  +import 'dart:io';
  +import 'dart:math';
  +import 'dart:async';
   
   void main() {
     File dummySerialPort;
  
positive.code:       return dummySerialPort.create();
      });
      tearDown(() => dummySerialPort.delete());
  
      test('Open', () {
        var serial =  new SerialPort(dummySerialPort.path, baudrate: 9600);
  
negative.code: 
      test('Read bytes', (){
        var serial =  new SerialPort(dummySerialPort.path);
        serial.open().then((_){
          serial.onRead.first.then((List<int> bytes) {
            expect(bytes, "Hello".codeUnits);
            serial.close();
          });
        });
  
        new Timer(new Duration(seconds: 1), () {
          fail('event not fired in time');
        });
  
        // when
        dummySerialPort.writeAsStringSync("Hello");
      });
  
      test('Defaut baudrate 9600', () {
        var serial =  new SerialPort(dummySerialPort.path);
  