Serial port class driver, testing reading integers from stream