Added safety-checking serial client test program