add flush to drumserial and add serial buffer test program