Make sure serial wrote all data before reading
Fixing tests