serial test fixes