Tests for serial port controller