Created HardwareSerialTests and fixed the HardwareSerial implementation