Added more system tests for ArduinoSerialConnectionImpl, fixed some issues uncovered by the tests.