added time to serial-test.c