anchor.diff:      });
       tearDown(() => dummySerialPort.delete());
   
  -    /*
       test('Detect serial port', (){
         SerialPort.avaiblePortNames.then((names){
           // Not easy to have test for all Plateform. The minimal requiment is nothing detected
           expect(names, isNotNull);
         });
       });
  -    */
   
       test('Open', () {
         var serial =  new SerialPort(dummySerialPort.path, baudrate: 9600);
  
positive.code:                       serial.close();
                     });
      });
      /* */
      test('Read bytes', (){
        var serial =  new SerialPort(dummySerialPort.path);
  
        final t = new Timer(new Duration(seconds: 1), () {
          fail('event not fired in time');
        });
  
        serial.open().then((_){
          serial.onRead.first.then((List<int> bytes) {
            expect(bytes, "Hello".codeUnits);
            serial.close();
            t.cancel();
          });
        });
  
        // when
        dummySerialPort.writeAsStringSync("Hello");
      });
  
  
      test('Defaut baudrate 9600', () {
        var serial =  new SerialPort(dummySerialPort.path);
  
negative.code: 
  import 'package:unittest/unittest.dart';
  import 'package:serial_port/serial_port.dart';
  import 'package:unittest/vm_config.dart';
  import 'dart:io';
  import 'dart:math';
  import 'dart:async';
  
  void main() {
  
    useVMConfiguration();
  
    File dummySerialPort;
    Random random = new Random();
  
    group('Util', (){
  
      test('Convert bytes to string', (){
        expect(BYTES_TO_STRING([72, 101, 108, 108, 111]), "Hello");
      });
  
    });
  
    group('Serial port', () {
      setUp(() {
        dummySerialPort = new File("dummySerialPort.tmp");
  