First test fixtures and mocks for serial port.