added test for new method 'add_serial_port'