added a test for the serial interface