added serial_test util